package cn.neusoft.service;

import cn.neusoft.domain.Warehouse;
import cn.neusoft.query.BaseQuery;
import cn.neusoft.vo.PageBean;

import java.util.List;

public interface WarehouseService {
    void add(Warehouse warehouse);

    void deleteById(Long warehouse_id);

    void update(Warehouse warehouse);

    Warehouse findById(Long warehouse_id);

    List<Warehouse> findAll();

    PageBean<Warehouse> findByPage(BaseQuery query);

    List<String> getDistinctAddress();
}
